

#ifndef _SHELL_RESWORLDBOSSINFO_MESSAGE_H_
#define _SHELL_RESWORLDBOSSINFO_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ResWorldBossInfoMessage : public Message
{
	public:
	ResWorldBossInfoMessage();
	~ResWorldBossInfoMessage();
	void reset();
	ResWorldBossInfoMessage* clone();
	static const int _ID;
	//世界bossId
	int32 bossId;
	//本轮剩余攻击次数
	int8 count;
	//世界boss最大血量
	int32 maxLife;
	//世界boss血量
	int32 life;
	//是否是当前世界boss
	int8 isCurrentBoss;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
